.course-filter {
  position: fixed;
  top: 0;
  z-index: 500;
  width: 100%;
  height: 80rpx;
  line-height: 80rpx;
  align-content: center;
  justify-content: center;
  background: #f7f7f7;
  font-size: 28rpx;
  .u-arrow {
    margin-left: 10rpx;
  }
  &.active {
    color: #14cc76;
    .u-arrow-up {
      border-top-color: #14cc76;
    }
  }
}

.shade {
  width: 100%;
  height: 100%;
  top: 144rpx;
  background: rgba(0, 0, 0, 0.4);
  overflow: hidden;
  z-index: 1;
  position: absolute;

  .contents {
    background: #fff;
    padding: 40rpx 60rpx;
    color: #757575;
    font-size: 28rpx;
    .f-type {
      margin: 0 60rpx 15rpx 0;
      display: inline-block;
      &.active {
        color: #14cc76;
        font-weight: bold;
      }
    }
  }
}

.conts {
  box-shadow: 0 8rpx 16rpx 0px rgba(0, 0, 0, 0.1);
  width: 100%;
  background: #fff;
  position: fixed;
  top: 144rpx;
  padding: 40rpx 0;
  font-size: 24rpx;
  z-index: 500;
  max-height: 90vh;
  overflow-y: auto;
  .filter-name {
    margin-left: 32rpx;
    color: #9b9b9b;
    margin-bottom: 14rpx;
  }

  .grade-box,
  .subject-box {
    padding: 0 32rpx;
    .item {
      position: relative;
      text-align: center;
      overflow: hidden;
      background: #f1f1f1;
      border-radius: 28rpx;
      color: #757575;
      line-height: 56rpx;
      white-space: nowrap;
      margin: 14rpx 0 30rpx 0;
      border: 2rpx solid transparent;
      padding: 0 6rpx;
      &.c-active,
      &.active {
        background: rgba(20, 204, 118, 0.1);
        color: #07d0b0;
        border-color: #14cc76;
      }
    }
  }

  .sure-choose {
    width: 690rpx;
    height: 80rpx;
    background: #14cc76;
    border-radius: 40rpx;
    margin: 60rpx auto 0 auto;
    font-size: 32rpx;
    text-align: center;
    line-height: 80rpx;
    color: #fff;
  }
}

.new-filter {
  box-shadow: 0 4rpx 16rpx 0 rgba(0, 0, 0, 0.05);
  .tab-h {
    padding-left: 40rpx;
    // height: 50rpx;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    background: #fff;
    white-space: nowrap;
    z-index: 10;
    .tab-item {
      margin: 0 24rpx;
      display: inline-block;
      color: #757575;
      font-size: 28rpx;
      text-align: center;
      line-height: 50rpx;

      &:first-child {
        margin-left: 0;
      }

      &.active {
        color: #fff;
        font-weight: bold;
        background: #14cc76;
        border-radius: 26rpx;
        min-width: 104rpx;
      }
    }
    ::-webkit-scrollbar {
      width: 0;
      height: 0;
      color: transparent;
    }
  }
  .big-filter {
    justify-content: space-between;
    align-content: center;
    font-size: 28rpx;
    margin-top: 30rpx;
    color: #757575;
    padding: 0 40rpx 16rpx 40rpx;

    .filter-item {
      display: flex;
      justify-content: flex-start;
      font-size: 0;
      .iconfont {
        font-size: 18rpx;
        display: inline-block;
        font-weight: bold;
      }

      .icon-arrow-up {
        transform: scale(0.6);
      }

      .icon-arrow-down {
        transform: rotate(180deg) scale(0.6);
      }
      view {
        // display: inline-block;
        font-size: 28rpx;
        margin-right: 40rpx;
        &.active {
          color: #14cc76;
          font-weight: bold;
        }
      }
    }

    .icon-toggle {
      margin-left: 10rpx;
      font-size: 28rpx;
    }

    .sm-filter-box {
      position: relative;
      align-items: center;
      justify-content: center;
      display: flex;

      .iconfont {
        font-size: 20rpx;
        display: inline-block;
        font-weight: bold;
      }

      .icon-arrow-up {
        transform: scale(0.6);
      }

      .icon-arrow-down {
        transform: rotate(180deg) scale(0.6);
      }

      .arrow {
        position: absolute;
        display: inline-block;
        width: 0;
        height: 0;
        border-top: 22rpx solid #fff;
        border-right: 22rpx solid transparent;
        border-bottom: 22rpx solid transparent;
        transform: rotate(45deg);
        position: absolute;
        top: -12rpx;
        right: 26rpx;
        z-index: 30;
      }
      .sm-filter {
        font-size: 28rpx;
        background: #fff;
        box-shadow: 0 0 12rpx 0 rgba(0, 0, 0, 0.1);
        position: absolute;
        right: 0;
        top: 64rpx;
        padding: 10rpx 15rpx;
        z-index: 20;
        text-align: left;
        min-width: 204rpx;
        border-radius: 8rpx;

        .switch {
          margin-top: 5rpx;
          text {
            margin-right: 10rpx;
          }
          .xh-switch {
            float: right;
            margin-top: 5rpx;
          }
        }
      }
    }
  }
}

// .tab-h {
//   height: 80rpx;
//   width: 100%;
//   box-sizing: border-box;
//   overflow: hidden;
//   line-height: 80rpx;
//   background: #fff;
//   font-size: 16px;
//   white-space: nowrap;
//   position: fixed;
//   top: 80rpx;
//   left: 0;
//   z-index: 10;
//   .tab-item {
//     margin: 0 30rpx;
//     display: inline-block;
//     color: #757575;
//     font-size: 28rpx;
//     &.active {
//       color: #4A4A4A;
//       font-size: 36rpx;
//       position: relative;
//       font-weight: bold;
//       &:after {
//         content: "";
//         display: block;
//         height: 8rpx;
//         width: 32rpx;
//         background: #07D0B0;
//         position: absolute;
//         bottom: 5rpx;
//         left: 19rpx;
//         border-radius: 4rpx;
//       }
//     }
//   }
// }

.coaches {
  padding: 40rpx 40rpx 0 40rpx;
  .coach-info {
    position: relative;
    height: 190rpx;
    border-radius: 16rpx;
    overflow: hidden;
    color: #757575;
    margin-bottom: 40rpx;
    .info-bg {
      position: absolute;
      z-index: -1;
      width: 100%;
      height: 100%;
    }

    .info-box {
      height: 100%;
      box-shadow: 0 0 16rpx 0 rgba(0, 0, 0, 0.1);
      padding: 30rpx;
      font-size: 28rpx;
      .name {
        color: #4a4a4a;
        font-weight: bold;
        min-height: 80rpx;
        max-height: 80rpx;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
      }
      .other-info {
        margin-top: 10rpx;
        justify-content: space-between;
        .ins-name {
          color: #9b9b9b;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 1;
          -webkit-box-orient: vertical;
          max-width: 50%;
          max-height: 42rpx;
        }
        .info {
          .date {
            color: #9b9b9b;
            margin-right: 10rpx;
          }
          .learned {
            color: #14cc76;
          }
          .start-learn {
            display: inline-block;
            background: #14cc76;
            border-radius: 8rpx;
            height: 56rpx;
            line-height: 56rpx;
            color: #fff;
            padding: 0 10rpx;
            font-size: 28rpx;
          }
        }
      }
    }
  }
}
